package com.party.business.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.party.business.mapper.ActingDataMapper;
import com.party.business.domain.ActingData;
import com.party.business.service.IActingDataService;

/**
 * 演习数据Service业务层处理
 *
 * @author ruoyi
 * @date 2025-06-24
 */
@Service
public class ActingDataServiceImpl extends ServiceImpl<ActingDataMapper,ActingData>  implements IActingDataService
{
    @Autowired
    private ActingDataMapper actingDataMapper;

    /**
     * 查询演习数据
     *
     * @param id 演习数据主键
     * @return 演习数据
     */
    @Override
    public ActingData selectActingDataById(Long id)
    {
        return actingDataMapper.selectActingDataById(id);
    }

    /**
     * 查询演习数据列表
     *
     * @param actingData 演习数据
     * @return 演习数据
     */
    @Override
    public List<ActingData> selectActingDataList(ActingData actingData)
    {
        return actingDataMapper.selectActingDataList(actingData);
    }

    /**
     * 新增演习数据
     *
     * @param actingData 演习数据
     * @return 结果
     */
    @Override
    public int insertActingData(ActingData actingData)
    {
            return actingDataMapper.insertActingData(actingData);
    }

    /**
     * 修改演习数据
     *
     * @param actingData 演习数据
     * @return 结果
     */
    @Override
    public int updateActingData(ActingData actingData)
    {
        return actingDataMapper.updateActingData(actingData);
    }

    /**
     * 批量删除演习数据
     *
     * @param ids 需要删除的演习数据主键
     * @return 结果
     */
    @Override
    public int deleteActingDataByIds(Long[] ids)
    {
        return actingDataMapper.deleteActingDataByIds(ids);
    }

    /**
     * 删除演习数据信息
     *
     * @param id 演习数据主键
     * @return 结果
     */
    @Override
    public int deleteActingDataById(Long id)
    {
        return actingDataMapper.deleteActingDataById(id);
    }
}
